/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统
 *                Web: https://www.corecms.net
 *             Author: 大灰灰
 *              Email: jianweie@163.com
 *         CreateTime: 2021/7/16 2:53:31
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 商品SKU模型表
    /// </summary>
    public partial class CoreCmsGoodsTypeSpec
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsGoodsTypeSpec()
        {
        }

        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]

        public System.Int32 id { get; set; }

        /// <summary>
        /// Sku模型名称
        /// </summary>
        [Display(Name = "Sku模型名称")]
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
        public System.String name { get; set; }

        /// <summary>
        /// Sku模型排序
        /// </summary>
        [Display(Name = "Sku模型排序")]
        [Required(ErrorMessage = "请输入{0}")]

        public System.Int32 sort { get; set; }
    }
}